import request from '@/utils/request'
// 登录接口
export const loginFn = (data) => {
  return request({
    url: '/sys/login',
    method: 'post',
    data
  })
}
// 获取用户信息
export const getUserInfo = () => {
  return request({
    url: '/sys/profile',
    method: 'post'
  })
}
